<style type="text/css">
#painel{border-collapse:collapse}
#painel tr td #menu a{ color:#111; text-decoration:none }
#painel tr td #menu a:hover{ color:#666; text-decoration:none }

#painel tr td #menu .ativo{padding:5px; color:#111;color:#666}
#painel tr td #menu tr td.ativo { background-color:#EFF2F7; padding:5px}

#painel tr td #menu tr td {padding:5px}
#painel tr td #menu tr td:hover { background-color:#EFF2F7; padding:5px}

#painel a{ color:#069; text-decoration:none}
#painel a:hover{ color:#333; text-decoration:underline }
</style>

<style type="text/css">
#TableDestalhes{ border:solid 1px #CCCCCC; border-collapse:collapse}
#TableDestalhes h3{ font-weight:normal; text-transform:none; margin:0px}
#TableDestalhes tr td {border:1px solid #CCCCCC; padding:4px}
#TableDestalhes tr td a { text-decoration:none; color:#3B59AA; text-transform:capitalize; font-size:11px}
#TableDestalhes tr td a:hover { text-decoration:undeline; color:#3B59AA; font-size:11px}
</style>
<style type="text/css">
<!--
.span-verde {color:#0C0
}
-->
</style>

<div>&nbsp;</div>

<?php function activelink($link,$ativo){ if($link == $ativo){ echo "class=\"ativo\""; } } ?>


<table width="990" border="0" cellpadding="0" cellspacing="0" id="painel">

<tr class="diferente">
  <td width="179" valign="top">
  <table bgcolor="#DEDEDE" id="menu" width="177" border="0" cellpadding="0" cellspacing="3">
    <tr>
      <td <?php activelink("inforpessoal",$_GET["acao"]); ?>><a href="painel.php?acao=inforpessoal">&raquo;Informa&ccedil;&otilde;es pessoais</a></td>
      </tr>
    <tr>
      <td <?php activelink("meus-anuncios",$_GET["acao"]); ?>><a href="painel.php?acao=perfil">&raquo;Amigos &amp; perfil</a></td>
    </tr>
    <tr>
      <td <?php activelink("meus-anuncios",$_GET["acao"]); ?>><a href="painel.php?acao=meus-anuncios">&raquo;Meus an&uacute;ncios</a></td>
      </tr>
    <tr>
      <td  <?php activelink("configuracao-usuario",$_GET["acao"]); ?>><a href="painel.php?acao=configuracao-usuario">&raquo;Configura&ccedil;&otilde;es da conta</a></td>
      </tr>
   <tr>
      <td  <?php activelink("qualificacao",$_GET["acao"]); ?>><a href="painel.php?acao=qualificacao">&raquo;Minhas qualifica&ccedil;&otilde;es</a></td>
      </tr>
   <!--<tr>
      <td><a href="#">&raquo;Meus cr&eacute;ditos Solmais</a></td>
      </tr>  
    <tr>
      <td><a href="#">&raquo;Meu(s) v&iacute;deo(s)</a></td>
      </tr>--> 
    <tr>
      <td  <?php activelink("minhas-vendas",$_GET["acao"]); ?>><a href="painel.php?acao=minhas-vendas">&raquo;Minhas vendas</a></td>
      </tr>
    <tr>
      <td  <?php activelink("minhas-compras",$_GET["acao"]); ?>><a href="painel.php?acao=minhas-compras">&raquo;Minhas compras</a></td>
      </tr>
      
     <!-- <tr bgcolor="#0099CC">
      <td>SOBRE O AN&Uacute;NCIO</td>
      </tr>-->
      
    <tr>
      <td  <?php activelink("perguntas",$_GET["acao"]); ?>><a href="painel.php?acao=perguntas">&raquo;Pergunta(s) ao vendedor</a></td>
    </tr>
    <tr>
      <td  <?php activelink("descricao",$_GET["acao"]); ?>><a href="painel.php?acao=descricao">&raquo;Descri&ccedil;&atilde;o de item</a></td>
    </tr>
    <!--<tr>
      <td><a href="#">&raquo;V&iacute;deo(s) adicionado(s)</a></td>
    </tr>--> 
    <tr>
      <td  <?php activelink("resenhas",$_GET["acao"]); ?>><a href="painel.php?acao=resenhas">&raquo;Resenha(s) adicionada(s)</a></td>
    </tr>
    <!-- <tr>
      <td><a href="#">&raquo;Liga&ccedil;&otilde;es requisitadas</a></td>
    </tr>
    <tr>
      <td><a href="#">&raquo;Proposta(s) de negocia&ccedil;&atilde;o</a></td>
    </tr>-->
  </table>
  </td>
  <td width="811" valign="top" id="resultados">
  <?php

$paginaadmin	= $_GET["acao"];
if($paginaadmin){
include "modulos/painel/$paginaadmin.php"; 
}else{
include "modulos/painel/home.php"; 	
}
?>
  </td>
</tr>


</table>